﻿<%@ Page Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="Evaluations.aspx.cs" Inherits="Admin_Evaluations" Title="Admin Page - Information Literacy Education" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>
<%@ Register TagPrefix="uc" TagName="UpdateProgress" Src="~/UserControls/UpdateProgress.ascx" %>
<%@ Register TagPrefix="uc" TagName="ModalPopupMessage" Src="~/UserControls/ModalPopupMessage.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="Server">
    <uc:UpdateProgress ID="updateProgress" runat="server" />
    <asp:UpdatePanel ID="UpdatePanelModalPopupMessage" runat="server">
        <ContentTemplate>
            <uc:ModalPopupMessage ID="ModalPopupMessage" runat="server" />
        </ContentTemplate>
    </asp:UpdatePanel>
    <h1>
        Evaluation Page</h1>
    <br />
    <asp:Button ID="btnCreateEvaluation" runat="server" Text="Create Evaluation" OnClick="btnCreateEvaluation_Click" />
    &nbsp; &nbsp;
    <asp:Button ID="btnEditEvaluation" runat="server" Text="Edit Evaluation" OnClick="btnEditEvaluation_Click" />
    &nbsp; &nbsp;
    <asp:Button ID="btnViewEvaluations" runat="server" Text="View Evaluations" OnClick="btnViewEvaluations_Click" />
    <asp:Panel ID="PanelCreateEvaluation" runat="server" Visible="false">
        <br />
        <hr />
        <h2>
            Create Evaluation
        </h2>
        <div class="indent20" style="min-width: 600px;">
            <div style="border: solid 1px #999; padding: 10px;">
                <asp:Wizard ID="WizardCreateEvaluation" runat="server" DisplaySideBar="false" CssClass="MinWidth"
                    OnActiveStepChanged="WizardCreateEvaluation_ActiveStepChanged" OnFinishButtonClick="WizardCreateEvaluation_FinishButtonClick"
                    NavigationButtonStyle-ForeColor="Black" NavigationButtonStyle-CssClass="fancyButton"
                    NavigationStyle-CssClass="Hidden">
                    <WizardSteps>
                        <asp:WizardStep ID="WizardStep1" runat="server" Title="Step 1">
                            <strong>Class</strong><br />
                            <asp:ObjectDataSource ID="ObjectDataSourceCourses" runat="server" OldValuesParameterFormatString="original_{0}"
                                SelectMethod="GetCourses" TypeName="ClassBLL"></asp:ObjectDataSource>
                            <asp:GridView ID="GridViewCourses" runat="server" AllowPaging="True" AllowSorting="True"
                                AutoGenerateColumns="False" CellPadding="4" DataKeyNames="CourseID" DataSourceID="ObjectDataSourceCourses"
                                ForeColor="#333333" GridLines="None" CssClass="MinWidth" EmptyDataText="<div class='GridViewNoData'>No Class has been added.<br /><a href='Class.aspx'>Add Class</a></div>"
                                OnSelectedIndexChanged="GridViewCourses_SelectedIndexChanged">
                                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                <Columns>
                                    <asp:CommandField ShowSelectButton="True" />
                                    <asp:BoundField DataField="CourseID" HeaderText="ID" InsertVisible="False" ReadOnly="True"
                                        SortExpression="CourseID">
                                        <ItemStyle HorizontalAlign="Center" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="Title" HeaderText="Class Title" SortExpression="Title" />
                                    <asp:BoundField DataField="Subtitle" HeaderText="Class Subtitle" SortExpression="Subtitle" />
                                    <asp:CheckBoxField DataField="IsEnabled" HeaderText="Enabled?" SortExpression="IsEnabled">
                                        <ItemStyle HorizontalAlign="Center" />
                                    </asp:CheckBoxField>
                                </Columns>
                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <EditRowStyle BackColor="#999999" />
                                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            </asp:GridView>
                            <br />
                            <br />
                            <asp:Panel ID="PanelCreateEvaluationSections" runat="server" Visible="false">
                                <strong>Sections</strong><br />
                                <table>
                                    <tr>
                                        <td>
                                            <asp:CheckBox ID="chkboxCreateEvaluationSectionsShowDisabled" runat="server" Text="Show Disabled Sections"
                                                Font-Size="Smaller" AutoPostBack="true" OnCheckedChanged="chkboxCreateEvaluationSectionsShowDisabled_CheckedChanged" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div style="float: left;">
                                                <asp:ListBox ID="lstboxSections" runat="server" SelectionMode="Multiple" Width="100"
                                                    EnableViewState="true">
                                                    <asp:ListItem>---Sections---</asp:ListItem>
                                                    <asp:ListItem>Please Select a Course First</asp:ListItem>
                                                </asp:ListBox>
                                                <br />
                                                <a href="javascript: SelectAllItems('<%=lstboxSections.ClientID %>');">Select 
                                                All Sections</a>
                                            </div>
                                            <div style="padding-left: 10px; float: left;">
                                                <!-- *SteveMsg -->
                                                Evaluations can be assigned to multiple sections.<br />
                                                Use the Ctrl key to select multiple sections.
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </asp:WizardStep>
                        <asp:WizardStep ID="WizardStep2" runat="server">
                            <h3>
                                Evaluation Introduction
                            </h3>
                            <div class="indent20">
                                <cc1:Editor ID="EditorCreateIntroduction" runat="server" Height="300" />
                            </div>
                        </asp:WizardStep>
                        <asp:WizardStep ID="WizardStep3" runat="server">
                            <h3>
                                Question List
                            </h3>
                            <div class="indent20">
                                <table>
                                    <tr>
                                        <td class="tableLeftHeader">
                                            Questions :
                                        </td>
                                        <td class="tableItem">
                                            <asp:DropDownList ID="ddlistCreateQuestionList" runat="server" AutoPostBack="true"
                                                OnSelectedIndexChanged="ddlistCreateQuestionList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <br />
                            <h3>
                                <asp:Label ID="lblCreateMode" runat="server" Text="Add New Questions" />
                            </h3>
                            <div class="indent20">
                                <table>
                                    <tr>
                                        <td class="tableLeftHeader">
                                            Question Type :
                                        </td>
                                        <td class="tableItem">
                                            <asp:DropDownList ID="ddlistCreateQuestionType" runat="server" AutoPostBack="true"
                                                OnSelectedIndexChanged="ddlistCreateQuestionType_SelectedIndexChanged">
                                                <asp:ListItem Value="scale3" Enabled="false">Scale (3)</asp:ListItem>
                                                <asp:ListItem Value="scale5" Enabled="false">Scale (5)</asp:ListItem>
                                                <asp:ListItem Value="scale10">Scale (10)</asp:ListItem>
                                                <asp:ListItem Value="shortanswer">Short Answer</asp:ListItem>
                                                <asp:ListItem Value="multipleChoiceSingleAnswer" Enabled="false">Multiple Choice 
                                                (Single Answer)</asp:ListItem>
                                                <asp:ListItem Value="multiplechoiceMultipleAnswers" Enabled="false">Multiple 
                                                Choice (Multiple Answers)</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                                <br />
                                <h4>
                                    Question
                                </h4>
                                <div class="indent20">
                                    <cc1:Editor ID="EditorCreateQuestion" runat="server" Height="150" />
                                    <br />
                                    <asp:Panel ID="PanelCreateScale10" runat="server" Visible="true">
                                        <span style="font-size: small;">* Make 10 as the most positive answer and 1 as 
                                        the most negative answer. </span>
                                        <br />
                                        <br />
                                        <b>Answer Example</b>
                                        <br />
                                        <table style="min-width: 400px;">
                                            <tr>
                                                <td style="text-align: center;">
                                                    <input type="radio" name="1" />
                                                </td>
                                                <td style="text-align: center;">
                                                    <input type="radio" name="1" />
                                                </td>
                                                <td style="text-align: center;">
                                                    <input type="radio" name="1" />
                                                </td>
                                                <td style="text-align: center;">
                                                    <input type="radio" name="1" />
                                                </td>
                                                <td style="text-align: center;">
                                                    <input type="radio" name="1" />
                                                </td>
                                                <td style="text-align: center;">
                                                    <input type="radio" name="1" />
                                                </td>
                                                <td style="text-align: center;">
                                                    <input type="radio" name="1" />
                                                </td>
                                                <td style="text-align: center;">
                                                    <input type="radio" name="1" />
                                                </td>
                                                <td style="text-align: center;">
                                                    <input type="radio" name="1" />
                                                </td>
                                                <td style="text-align: center;">
                                                    <input type="radio" name="1" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: center;">
                                                    1
                                                </td>
                                                <td style="text-align: center;">
                                                    2
                                                </td>
                                                <td style="text-align: center;">
                                                    3
                                                </td>
                                                <td style="text-align: center;">
                                                    4
                                                </td>
                                                <td style="text-align: center;">
                                                    5
                                                </td>
                                                <td style="text-align: center;">
                                                    6
                                                </td>
                                                <td style="text-align: center;">
                                                    7
                                                </td>
                                                <td style="text-align: center;">
                                                    8
                                                </td>
                                                <td style="text-align: center;">
                                                    9
                                                </td>
                                                <td style="text-align: center;">
                                                    10
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: center;">
                                                    Strongly<br />
                                                    Disagree
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                </td>
                                                <td>
                                                </td>
                                                <td style="text-align: center;">
                                                    Strongly<br />
                                                    Agree
                                                </td>
                                            </tr>
                                        </table>
                                    </asp:Panel>
                                    <asp:Panel ID="PanelCreateShortAnswer" runat="server" Visible="false">
                                        * Length limit on the answer is 1000 characters.
                                        <br />
                                        <br />
                                        <b>Answer Example</b>
                                        <br />
                                        <textarea rows="4" cols="50">This is a sample answer for short answer question.</textarea></asp:Panel>
                                </div>
                                <br />
                                <asp:Button ID="btnCreateAddNewQuestion" runat="server" Text="Add Question" OnClick="btnCreateAddNewQuestion_Click" />
                                <asp:Button ID="btnCreateUpdateQuestion" runat="server" Text="Update Question" Visible="false"
                                    OnClick="btnCreateUpdateQuestion_Click" />
                            </div>
                        </asp:WizardStep>
                        <%--                        <asp:WizardStep ID="WizardStep4" runat="server">
                            <h3>
                                Review Questions
                            </h3>
                            <div class="indent20" style="border: solid 1px #999;">
                                <h4>
                                    Evaluation for
                                    <asp:Label ID="lblCreateReviewCourseTitle" runat="server" /></h4>
                                <br />
                                <asp:Label ID="lblCreateReviewQuestions" runat="server" />
                            </div>
                        </asp:WizardStep>--%>
                    </WizardSteps>
                </asp:Wizard>
            </div>
        </div>
    </asp:Panel>
    <asp:Panel ID="PanelEditEvaluation" runat="server" Visible="false">
        <br />
        <hr />
        <h2>
            Edit Evaluation
        </h2>
        <div class="indent20">
            <asp:Wizard ID="WizardEditEvaluation" runat="server" DisplaySideBar="false" CssClass="MinWidth"
                OnActiveStepChanged="WizardEditEvaluation_ActiveStepChanged" OnFinishButtonClick="WizardEditEvaluation_FinishButtonClick"
                NavigationButtonStyle-ForeColor="Black" NavigationButtonStyle-CssClass="fancyButton"
                NavigationStyle-CssClass="Hidden">
                <NavigationStyle CssClass="Hidden" />
                <WizardSteps>
                    <asp:WizardStep ID="WizardStep4" runat="server">
                        <%--<h3>
                            Courses
                        </h3>
                        <div class="indent20">
                            <asp:DropDownList ID="ddlistEditCourses" runat="server" OnLoad="ddlistEditCourses_Load"
                                AutoPostBack="true" OnSelectedIndexChanged="ddlistEditCourses_SelectedIndexChanged" />
                        </div>
                        <br />
                        <h3>
                            Sections
                        </h3>
                        <div class="indent20">
                            <asp:DropDownList ID="ddlistEditSections" runat="server" AutoPostBack="true" OnLoad="ddlistEditSections_Load"
                                OnSelectedIndexChanged="ddlistEditSections_SelectedIndexChanged">
                                <asp:ListItem>Please Select a Course First</asp:ListItem>
                            </asp:DropDownList>
                        </div>--%>
                        <asp:ObjectDataSource ID="ObjectDataSourceEvalClasses" runat="server" 
                            DeleteMethod="DeleteEvalRelation" OldValuesParameterFormatString="original_{0}" 
                            SelectMethod="GetRelations" TypeName="EvaluationsBLL">
                            <DeleteParameters>
                                <asp:Parameter Name="CourseID" Type="Int32" />
                                <asp:Parameter Name="SectionNumber" Type="Int32" />
                            </DeleteParameters>
                        </asp:ObjectDataSource>
                        <asp:GridView ID="GridViewEvalClasses" runat="server" AllowSorting="True" 
                            AutoGenerateColumns="False" CellPadding="4" 
                            DataKeyNames="CourseID,SectionNumber" 
                            DataSourceID="ObjectDataSourceEvalClasses" ForeColor="#333333" 
                            GridLines="None" 
                            OnSelectedIndexChanged="GridViewEvalClasses_SelectedIndexChanged" Width="600px">
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            <Columns>
                                <asp:CommandField ShowSelectButton="True" />
                                <asp:BoundField DataField="Title" HeaderText="Course Title" 
                                    SortExpression="Title" >
                                    <HeaderStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="SectionNumber" HeaderText="Section #" 
                                    ReadOnly="True" SortExpression="SectionNumber" >
                                    <HeaderStyle HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                <asp:CommandField ShowDeleteButton="True">
                                    <ItemStyle HorizontalAlign="Right" />
                                </asp:CommandField>
                            </Columns>
                            <EditRowStyle BackColor="#999999" />
                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        </asp:GridView>
                        
                    </asp:WizardStep>
                    <asp:WizardStep ID="WizardStep5" runat="server">
                        <h3>
                            Evaluation Introduction
                        </h3>
                        <div class="indent20">
                            <cc1:Editor ID="EditorEditIntroduction" runat="server" />
                        </div>
                    </asp:WizardStep>
                    <asp:WizardStep ID="WizardStep6" runat="server">
                        <h3>
                            Question List
                        </h3>
                        <div class="indent20">
                            <table>
                                <tr>
                                    <td class="tableLeftHeader">
                                        Questions :
                                    </td>
                                    <td class="tableItem">
                                        <asp:DropDownList ID="ddlistEditQuestionList" runat="server" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlistEditQuestionList_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <br />
                        <h3>
                            <asp:Label ID="lblEditMode" runat="server" Text="Add New Questions" />
                        </h3>
                        <div class="indent20">
                            <table>
                                <tr>
                                    <td class="tableLeftHeader">
                                        Question Type :
                                    </td>
                                    <td class="tableItem">
                                        <asp:DropDownList ID="ddlistEditQuestionType" runat="server" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlistEditQuestionType_SelectedIndexChanged">
                                            <asp:ListItem Value="scale3" Enabled="false">Scale (3)</asp:ListItem>
                                            <asp:ListItem Value="scale5" Enabled="false">Scale (5)</asp:ListItem>
                                            <asp:ListItem Value="scale10">Scale (10)</asp:ListItem>
                                            <asp:ListItem Value="shortanswer">Short Answer</asp:ListItem>
                                            <asp:ListItem Value="multipleChoiceSingleAnswer" Enabled="false">Multiple Choice 
                                            (Single Answer)</asp:ListItem>
                                            <asp:ListItem Value="multiplechoiceMultipleAnswers" Enabled="false">Multiple 
                                            Choice (Multiple Answers)</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
                            <br />
                            <h4>
                                Question
                            </h4>
                            <div class="indent20">
                                <cc1:Editor ID="EditorEditQuestion" runat="server" Height="150" />
                                <br />
                                <asp:Panel ID="PanelEditScale10" runat="server" Visible="true">
                                    <span style="font-size: small;">* Make 10 as the most positive answer and 1 as 
                                    the most negative answer. </span>
                                    <br />
                                    <br />
                                    <b>Answer Example</b>
                                    <br />
                                    <table style="min-width: 400px;">
                                        <tr>
                                            <td style="text-align: center;">
                                                <input type="radio" name="1" />
                                            </td>
                                            <td style="text-align: center;">
                                                <input type="radio" name="1" />
                                            </td>
                                            <td style="text-align: center;">
                                                <input type="radio" name="1" />
                                            </td>
                                            <td style="text-align: center;">
                                                <input type="radio" name="1" />
                                            </td>
                                            <td style="text-align: center;">
                                                <input type="radio" name="1" />
                                            </td>
                                            <td style="text-align: center;">
                                                <input type="radio" name="1" />
                                            </td>
                                            <td style="text-align: center;">
                                                <input type="radio" name="1" />
                                            </td>
                                            <td style="text-align: center;">
                                                <input type="radio" name="1" />
                                            </td>
                                            <td style="text-align: center;">
                                                <input type="radio" name="1" />
                                            </td>
                                            <td style="text-align: center;">
                                                <input type="radio" name="1" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: center;">
                                                1
                                            </td>
                                            <td style="text-align: center;">
                                                2
                                            </td>
                                            <td style="text-align: center;">
                                                3
                                            </td>
                                            <td style="text-align: center;">
                                                4
                                            </td>
                                            <td style="text-align: center;">
                                                5
                                            </td>
                                            <td style="text-align: center;">
                                                6
                                            </td>
                                            <td style="text-align: center;">
                                                7
                                            </td>
                                            <td style="text-align: center;">
                                                8
                                            </td>
                                            <td style="text-align: center;">
                                                9
                                            </td>
                                            <td style="text-align: center;">
                                                10
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: center;">
                                                Strongly<br />
                                                Disagree
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td style="text-align: center;">
                                                Strongly<br />
                                                Agree
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="PanelEditShortAnswer" runat="server" Visible="false">
                                    * Length limit on the answer is 1000 characters.
                                    <br />
                                    <br />
                                    <b>Answer Example</b>
                                    <br />
                                    <textarea rows="4" cols="50">This is a sample answer for short answer question.</textarea></asp:Panel>
                            </div>
                            <br />
                            <asp:Button ID="btnEditAddNewQuestion" runat="server" Text="Add Question" OnClick="btnEditAddNewQuestion_Click" />
                            <asp:Button ID="btnEditUpdateQuestion" runat="server" Text="Update Question" Visible="false"
                                OnClick="btnEditUpdateQuestion_Click" />
                        </div>
                    </asp:WizardStep>
                </WizardSteps>
                <NavigationButtonStyle CssClass="fancyButton" ForeColor="Black" />
            </asp:Wizard>
        </div>
    </asp:Panel>
    <asp:Panel ID="PanelViewEvaluations" runat="server" Visible="false">
        <br />
        <hr />
        <h2>
            View Evaluations
        </h2>
        <br />
        <div class="indent20">
            <h3>
                Courses
            </h3>
            <div class="indent20">
                <asp:DropDownList ID="ddlistViewCourses" runat="server" OnLoad="ddlistViewCourses_Load"
                    AutoPostBack="true" OnSelectedIndexChanged="ddlistViewCourses_SelectedIndexChanged" />
            </div>
            <br />
            <h3>
                Sections
            </h3>
            <div class="indent20">
                <asp:DropDownList ID="ddlistViewSections" runat="server" AutoPostBack="true" OnLoad="ddlistViewSections_Load"
                    OnSelectedIndexChanged="ddlistViewSections_SelectedIndexChanged">
                    <asp:ListItem>Please Select a Course First</asp:ListItem>
                </asp:DropDownList>
            </div>
        </div>
        <br />
        <asp:Panel ID="PanelViewEvaluationResults" runat="server" Visible="false">
            <h1>
                ILE Evaluation Form
            </h1>
            <div class="indent20">
                <asp:Label ID="lblViewEvaluationIntroduction" runat="server" />
                <br />
                <br />
                <h2 align="center">
                    Student Exit Survey
                </h2>
                <br />
                <asp:Label ID="lblViewEvaluationQuestions" runat="server" />
                <br />
                <br />
                <h3>
                    User Info</h3>
                <div style="min-width: 600px; margin-left: 20px;">
                    <asp:ObjectDataSource ID="ObjectDataSourceViewUser" runat="server" OldValuesParameterFormatString="original_{0}"
                        SelectMethod="GetUserByUserID" TypeName="UsersBLL">
                        <SelectParameters>
                            <asp:SessionParameter Name="UserID" SessionField="ViewUserID" Type="Int32" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                    <asp:DetailsView ID="DetailsViewUser" runat="server" CssClass="MinWidth" AutoGenerateRows="False"
                        CellPadding="4" DataSourceID="ObjectDataSourceViewUser" ForeColor="#333333" GridLines="None">
                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <CommandRowStyle BackColor="#E2DED6" Font-Bold="True" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <FieldHeaderStyle BackColor="#E9ECF1" Font-Bold="True" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <Fields>
                            <asp:BoundField DataField="UserID" HeaderText="UserID" SortExpression="UserID" />
                            <asp:BoundField DataField="Username" HeaderText="Username" SortExpression="Username" />
                            <asp:BoundField DataField="AccountType" HeaderText="AccountType" SortExpression="AccountType" />
                            <asp:BoundField DataField="FirstName" HeaderText="FirstName" SortExpression="FirstName" />
                            <asp:BoundField DataField="LastName" HeaderText="LastName" SortExpression="LastName" />
                            <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                            <asp:BoundField DataField="StudentIDNumber" HeaderText="StudentIDNumber" SortExpression="StudentIDNumber" />
                            <asp:CheckBoxField DataField="IsEnabled" HeaderText="IsEnabled" SortExpression="IsEnabled" />
                            <asp:BoundField DataField="Year" HeaderText="Year" SortExpression="Year" />
                            <asp:BoundField DataField="RowError" HeaderText="RowError" SortExpression="RowError" />
                            <asp:CheckBoxField DataField="HasErrors" HeaderText="HasErrors" ReadOnly="True" SortExpression="HasErrors" />
                        </Fields>
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <EditRowStyle BackColor="#999999" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:DetailsView>
                </div>
                <br />
                <div style="min-width: 600px; height: 30px; text-align: center; font-size: 10pt;">
                    <asp:Repeater ID="RepeaterViewSubmissionList" runat="server" OnItemDataBound="RepeaterViewSubmissionList_ItemDataBound"
                        OnLoad="RepeaterViewSubmissionList_Load">
                        <ItemTemplate>
                            <asp:LinkButton ID="lnkbtnSubmission" runat="server" OnCommand="lnkbtnSubmission_Click" />
                        </ItemTemplate>
                        <SeparatorTemplate>
                            -
                        </SeparatorTemplate>
                    </asp:Repeater>
                </div>
            </div>
        </asp:Panel>
    </asp:Panel>
</asp:Content>
